package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopMerchantIncome;
import com.woniuxy.common.entity.ShopMerchantIncomeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMerchantIncomeMapper {
    long countByExample(ShopMerchantIncomeExample example);

    int deleteByExample(ShopMerchantIncomeExample example);

    int deleteByPrimaryKey(String incomeId);

    int insert(ShopMerchantIncome record);

    int insertSelective(ShopMerchantIncome record);

    List<ShopMerchantIncome> selectByExample(ShopMerchantIncomeExample example);

    ShopMerchantIncome selectByPrimaryKey(String incomeId);

    int updateByExampleSelective(@Param("record") ShopMerchantIncome record, @Param("example") ShopMerchantIncomeExample example);

    int updateByExample(@Param("record") ShopMerchantIncome record, @Param("example") ShopMerchantIncomeExample example);

    int updateByPrimaryKeySelective(ShopMerchantIncome record);

    int updateByPrimaryKey(ShopMerchantIncome record);
}